package com.xc.ezplan.admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lixingchen
 * @date 2022/11/19
 * @description 后台角色部门关联表
 */
@Data
@TableName(value ="admin_roles_depts")
@ApiModel(description = "角色部门关联实体")
public class AdminRolesDepts implements Serializable {
    /**
     * 角色ID
     */
    @ApiModelProperty(value = "角色ID")
    private Long roleId;

    /**
     * 部门ID
     */
    @ApiModelProperty(value = "部门ID")
    private Long deptId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}